package com.bdd.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel(value="com.bdd.entity.Return退货表")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class ReturnBO implements Serializable {

    @ApiModelProperty(value="退货编号")
    private Integer returnId;

    @ApiModelProperty(value="退货总金额")
    private Double totalPrice;

    @ApiModelProperty(value="退款数量")
    private Integer totalCount;

    @ApiModelProperty(value="订单编号")
    private Integer orderId;

    @ApiModelProperty(value="退货时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date returnTime;

    List<ReturnItemBO>returnItemBOList;
}
